import Vue from 'vue'
import Router from 'vue-router'
//teacher role
import InfoList from '@/components/teacherRole/infoList'
import NewsDetails from '@/components/teacherRole/newsDetails'
import CourseDetails from '@/components/teacherRole/courseDetails'
import CourseDesignDetails from '@/components/teacherRole/courseDesignDetails'
import CourseDesignList from '@/components/teacherRole/courseDesignList'
import CourseInfoList from '@/components/teacherRole/courseInfoList'
import ConfirmOrder from '@/components/teacherRole/confirmOrder'
import PersonInfo from '@/components/personInfo/personInfo'
import OrderDetails from '@/components/teacherRole/orderDetails'
import MainPointDownload from '@/components/teacherRole/mainPointDownload'
import MainPointDetails from '@/components/teacherRole/mainPointDetails'
import DownloadPlan from '@/components/teacherRole/downloadPlan'
import CourseDataSubmit from '@/components/teacherRole/courseDataSubmit'
import HistoryCourse from '@/components/teacherRole/historyCourse'
import GraduateDesignList from '@/components/teacherRole/graduateDesignList'
import GraduateDesignDetails from '@/components/teacherRole/graduateDesignDetails'



import Hello from '@/components/Hello'
//classHeaderRole..
import Notify from '@/components/classHeaderRole/Notify'
import TeacherInfo from '@/components/classHeaderRole/TeacherInfo'
import MainContent from '@/components/classHeaderRole/MainContent'
import TeacherListInfo from '@/components/classHeaderRole/TeacherListInfo'
import Course from '@/components/classHeaderRole/Course'
import CourseListInfo from '@/components/classHeaderRole/CourseListInfo'
import CoursePlan from '@/components/classHeaderRole/CoursePlan'
import CoursePlanListInfo from '@/components/classHeaderRole/CoursePlanListInfo'
import NotifyLists from '@/components/classHeaderRole/NotifyLists'



Vue.use(Router)

export default new Router({
  routes: [
    //teacher role
    {
      path: '/InfoList',
      name: 'InfoList',
      component: InfoList
    },
    {
      path: '/NewsDetails/:newsId',
      name: 'NewsDetails',
      component: NewsDetails
    },
    {
      path: '/CourseDetails/:courseId',
      name: 'CourseDetails',
      component: CourseDetails
    },
    //history course info list
    {
      path: '/HistoryCourse',
      name: 'HistoryCourse',
      component: HistoryCourse
    },
    {
      path: '/CourseInfoList',
      name: 'CourseInfoList',
      component: CourseInfoList
    },
    //
    {
      path: '/CourseDesignList',
      name: 'CourseDesignList',
      component: CourseDesignList
    },
    {
      path: '/CourseDesignDetails/:courseDesignID',
      name: 'CourseDesignDetails',
      component: CourseDesignDetails
    },
    //教材订购的核实
    {
      path: '/ConfirmOrder',
      name: 'ConfirmOrder',
      component: ConfirmOrder
    },
    //教材详细信息
    {
      path: '/OrderDetails/:orderId',
      name: 'OrderDetails',
      component: OrderDetails
    },
    //教学大纲下载
    {
      path: '/MainPointDownload',
      name: 'MainPointDownload',
      component: MainPointDownload
    },
    {
      path: '/DownloadPlan',
      name: 'DownloadPlan',
      component: DownloadPlan
    },
    //base info main point
    {
      path: '/MainPointDetails',
      name: 'MainPointDetails',
      component: MainPointDetails
    },
    //course design data submit
    {
      path: '/CourseDataSubmit',
      name: 'CourseDataSubmit',
      component: CourseDataSubmit
    },
    //graduate design details model
    {
      path: '/GraduateDesignList',
      name: 'GraduateDesignList',
      component: GraduateDesignList
    },
    {
      path: '/GraduateDesignDetails/:graduateProgramID',
      name: 'GraduateDesignDetails',
      component: GraduateDesignDetails
    },
    //个人信息维护
    {
      path: '/PersonInfo',
      name: 'PersonInfo',
      component: PersonInfo
    },
    //hello
    {
      path: '/',
      name: 'Hello',
      component: Hello
    },
    //classHeaderRole
    {
      path:'/Notify',
      name:'Notify',
      component:Notify
    },
    {
      path:'/TeacherInfo',
      name:'TeacherInfo',
      component:TeacherInfo
    },
    {
      path:'/MainContent',
      name:'MainContent',
      component:MainContent
    },
    {
      path:'/TeacherListInfo',
      name:'TeacherListInfo',
      component:TeacherListInfo
    },
    {
      path:'/Course',
      name:'Course',
      component:Course
    },
    {
      path:'/CourseListInfo',
      name:'CourseListInfo',
      component:CourseListInfo
    },
    {
      path:'/CoursePlan',
      name:'CoursePlan',
      component:CoursePlan
    },
    {
      path:'/CoursePlanListInfo',
      name:'CoursePlanListInfo',
      component:CoursePlanListInfo
    },
    {
      path:'/NotifyLists',
      name:'NotifyLists',
      component:NotifyLists
    }
  ]
})
